package com.lyj.service;

import com.lyj.pojo.Nurse;
import com.lyj.pojo.NurseSalary;
import com.lyj.pojo.OldMan;
import com.lyj.pojo.Vacation;

import java.util.List;

public interface NurseService {
    //登录
    Nurse login(String username, String password, String duty);
    //更新护士个人信息
    Boolean updateNurseById(Nurse nurse);
    //查看登录用户当前管理的老人信息
    List<OldMan> queryOldManByNurseId(int nurseId);
    //登录用户查看薪资
    List<NurseSalary> querySalaryByNurseId(int nurseId);
    //登录用户添加请假
    Boolean vacation(Vacation vacation);
    //登录用户查看全部请假
    List<Vacation> queryAllByNurseId(int nurseId);
    //修改请假信息
    Boolean updateVacation(Vacation vacation);
    //查询所有护工为空的老人
    List<OldMan> queryOldManNurseNull();

}
